package com.cy.pj.template.contorller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TemplateContorller {
    @RequestMapping("index")
    public String doTemplateContorllerUI(Model model){
        System.out.println("doTemplateContorllerUI...");
        model.addAttribute("name","暴富型");
        return "index";
    }
}
